import request from '@/utils/request'

export function getListByItemUserId(data) {
  return request({
    url: '/itemUserGroup/getListByItemUserId',
    method: 'post',
    params: data
  })
}

export function getListByItemGroupId(data) {
  return request({
    url: '/itemUserGroup/getListByItemGroupId',
    method: 'post',
    params: data
  })
}

export function saveDataByGroupId(data) {
  return request({
    url: '/itemUserGroup/saveDataByGroupId',
    method: 'post',
    data
  })
}
